//
//  WCNewTargetCategory.m
//  WabbitCode
//
//  Created by William Towe on 3/28/09.
//  Copyright 2009 Revolution Software. All rights reserved.
//

#import "WCNewTargetCategory.h"


@implementation WCNewTargetCategory
- (void)dealloc {
	[_name release];
	[super dealloc];
}

- (BOOL)isLeaf {
	return NO;
}

@synthesize name=_name;

- (NSString *)name {
	return [_name uppercaseString];
}

- (id)initWithName:(NSString *)name; {
	if (!(self = [super init]))
		return nil;
	
	_name = [name copy];
	
	return self;
}

+ (WCNewTargetCategory *)newTargetCategoryWithName:(NSString *)name; {
	return [[[[self class] alloc] initWithName:name] autorelease];
}
@end
